package com.wh.wisdomsite.xbox.du.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * 超标检测数据临时entity
 * @author 刘旭
 * @version V1.0
 * @Package com.wh.wisdomsite.xbox.du.entity
 * @date 2018年08月05日 22:00
 * @Copyright 企业版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
@TableName("du_outOfLimits")
public class OutOfLimits extends Model<OutOfLimits> {

    /**
     *  超标检测数据ID
     */
    @TableId(type = IdType.UUID)
    private String oolId;

    /**
     *FK, 扬尘设备项目检测点ID
     */
    @TableField("dpcpId")
    private String dpcpId;

    /**
     *具体超标参数字段
     */
    @TableField("oolArg")
    private String oolArg;

    /**
     *超标指数具体数值
     */
    @TableField("currentData")
    private Double currentData;

    /**
     *超标类型
     */
    @TableField("oolType")
    private String oolType;

    /**
     *采集时间
     */
    @TableField("collectTime")
    private Date collectTime;

    public String getOolId() {
        return oolId;
    }

    public void setOolId(String oolId) {
        this.oolId = oolId;
    }

    public String getDpcpId() {
        return dpcpId;
    }

    public void setDpcpId(String dpcpId) {
        this.dpcpId = dpcpId;
    }

    public String getOolArg() {
        return oolArg;
    }

    public void setOolArg(String oolArg) {
        this.oolArg = oolArg;
    }

    public Double getCurrentData() {
        return currentData;
    }

    public void setCurrentData(Double currentData) {
        this.currentData = currentData;
    }

    public String getOolType() {
        return oolType;
    }

    public void setOolType(String oolType) {
        this.oolType = oolType;
    }

    public Date getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Date collectTime) {
        this.collectTime = collectTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.oolId;
    }
}
